//
//  Parameter.m
//  Pacific_Computer
//
//  Created by dlios on 14-12-19.
//  Copyright (c) 2014年 lanou3g.com 蓝鸥科技. All rights reserved.
//

#import "Parameter.h"

@implementation Parameter

- (id)initWithDictionary:(NSDictionary *)dic
{
    self = [super init];
    if (self) {
        
        [self setValuesForKeysWithDictionary:dic];

        self.shortName = [dic objectForKey:@"shortName"];

        
    }
    return self;
}

- (id)valueForUndefinedKey:(NSString *)key
{
    return nil;
}

- (void)setValue:(id)value forUndefinedKey:(NSString *)key
{
    if ([key isEqualToString:@"id"]) {
        self.parameterId = value;
    }
//    NSLog(@"key:%@", key);
    
}


@end
